package com.hx.localmiaosha.service;

import com.hx.common.domain.MiaoshaUser;
import com.hx.common.vo.LoginVo;

import javax.servlet.http.HttpServletResponse;

/**
 * @Author wonghiu
 * @Date 2021/6/4 15:29
 * @Version 1.0.1
 */

public interface LocalMiaoshaUserService {
    MiaoshaUser login(LoginVo loginVo);

    boolean register(HttpServletResponse response, String userName, String passWord, String salt);

    MiaoshaUser getUserById(Long userId);

    MiaoshaUser getUserByNickName(String nickName);
}
